package edu.pku.sei.act.codegen.getinfor;

import edu.pku.sei.act.model.mote.SimpleDevice;
import edu.pku.sei.act.mote.myenum.YNEnum;

public class SimpleDeviceForCode {
	private YNEnum simpleDevice;
	
	public SimpleDeviceForCode(SimpleDevice simpleDevice){
		this.simpleDevice = simpleDevice.getSimpleDevice();		
	}
	public boolean getSimpleDevice(){
		if(this.simpleDevice == YNEnum.Yes){
			return true;
		}
        return false;
	}

}
